<?php


namespace app\admin\model;


use think\Model;
use think\model\concern\SoftDelete;

class AuthGroupAccess extends Model
{
    use SoftDelete;
    protected $name = 'auth_group_access';


    public function AuthGroup(){
        return $this->belongsTo(AuthGroup::class,'group_id');
    }
    public function admin(){
        return $this->belongsTo(Admin::class,'uid');
    }
}